package com.zhuoyue.system.service.impl;

import com.zhuoyue.system.domain.SysReleaseLog;
import com.zhuoyue.system.mapper.SysReleaseLogMapper;
import com.zhuoyue.system.service.ISysReleaseLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.time.LocalDateTime;

@Service
public class SysReleaseLogServiceImpl implements ISysReleaseLogService {
    @Autowired
    SysReleaseLogMapper releaseLogMapper;

    @Override
    public int insertReleaseLog(SysReleaseLog releaseLog) {
        return releaseLogMapper.insertReleaseLog(releaseLog);
    }

    @Override
    public LocalDateTime getLatestCreateTime() {
        return releaseLogMapper.getLatestCreateTime();
    }
}
